package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 药品信息对象 t_drug_info
 * 
 * @author ruoyi
 * @date 2023-02-12
 */
@TableName("t_drug_info")
@Data
public class TDrugInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String drugName;

    /** 药品别名 */
    @Excel(name = "药品别名")
    private String drugAlias;

    /** 药品编号 */
    @Excel(name = "药品编号")
    private String drugCode;

    /** 药品分类 */
    @Excel(name = "药品分类")
    private String drugType;

    /** 药品类别 */
    private String drugCategory;
    /** 药品规格 */
    @Excel(name = "药品规格")
    private String drugSpecs;

    /** 单价（分） */
    @Excel(name = "单价", readConverterExp = "分=")
    private BigDecimal unitPrice;

    /** 零售价（分） */
    @Excel(name = "零售价", readConverterExp = "分=")
    private BigDecimal retailPrice;

    /** 库存 */
    @Excel(name = "库存")
    private Long stock;

    /** 药品单位 */
    @Excel(name = "药品单位")
    private String drugCompany;

    /** 厂家 */
    @Excel(name = "厂家")
    private String manufactor;

    /** 排序 */
    @Excel(name = "排序")
    private int sort;
    /** 删除标识 */
    private String isDelete;

    @TableField(exist=false)
    private String userName;



}
